package com.web.transactionMonitor.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

@ToString
@ApiModel
public class TransactionMonitor {

	public static DateTimeFormatter yyyyMMdd = DateTimeFormatter.ofPattern("yyyyMMdd");

	@ApiModelProperty("currency")
	private String currency;
	@ApiModelProperty("bankBuyAmt")
	private BigDecimal bankBuyAmt;
	@ApiModelProperty("bankSellAmt")
	private BigDecimal bankSellAmt;
	@ApiModelProperty("netAmt")
	private BigDecimal netAmt;
	@ApiModelProperty("limitAmt")
	private BigDecimal limitAmt;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
	@ApiModelProperty("reachedDateTime")
	private LocalDateTime reachedDateTime;
	@ApiModelProperty("acknowledged")
	private String acknowledged;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
	@ApiModelProperty("acknowledgedDateTime")
	private LocalDateTime acknowledgedDateTime;
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public BigDecimal getBankBuyAmt() {
		return bankBuyAmt;
	}
	public void setBankBuyAmt(BigDecimal bankBuyAmt) {
		this.bankBuyAmt = bankBuyAmt;
	}
	public BigDecimal getBankSellAmt() {
		return bankSellAmt;
	}
	public void setBankSellAmt(BigDecimal bankSellAmt) {
		this.bankSellAmt = bankSellAmt;
	}
	public BigDecimal getNetAmt() {
		return netAmt;
	}
	public void setNetAmt(BigDecimal netAmt) {
		this.netAmt = netAmt;
	}
	public BigDecimal getLimitAmt() {
		return limitAmt;
	}
	public void setLimitAmt(BigDecimal limitAmt) {
		this.limitAmt = limitAmt;
	}
	public LocalDateTime getReachedDateTime() {
		return reachedDateTime;
	}
	public void setReachedDateTime(LocalDateTime reachedDateTime) {
		this.reachedDateTime = reachedDateTime;
	}
	public String getAcknowledged() {
		return acknowledged;
	}
	public void setAcknowledged(String acknowledged) {
		this.acknowledged = acknowledged;
	}
	public LocalDateTime getAcknowledgedDateTime() {
		return acknowledgedDateTime;
	}
	public void setAcknowledgedDateTime(LocalDateTime acknowledgedDateTime) {
		this.acknowledgedDateTime = acknowledgedDateTime;
	}
}
